package entity.common;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 收货地址表
 * </p>
 *
 * @author admin
 * @since 2020-02-17
 */
@Data
@TableName("t_take_address")
public class TakeAddress implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 收货地址
     */
    @TableField("address_name")
    private String addressName;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 创建日期 yyyy-MM-dd HH:mm:ss
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 更新日期 yyyy-MM-dd HH:mm:ss
     */
    @TableField("update_time")
    private String updateTime;

}
